package service;

public class SomeServiceImpl implements ISomeService {
	private  int a=5;
	//一个没有成员变量的对象在堆内存中占用8个字节
	//动态代码
	{
		System.out.println("执行动态代码块a="+a);
	}
	public SomeServiceImpl() {
		super();
		System.out.println("创建对象a="+a);
	}

	@Override
	public void doSome() {
		System.out.println("执行doSome方法");
	}

}
